google.golang.org/grpc.retryThrottler.tokens (field)
9 uses
google.golang.org/grpc (current package)
clientconn.go#L956: tokens: cc.sc.retryThrottling.MaxTokens,
clientconn.go#L1484: tokens float64 // TODO(dfawley): replace with atomic and remove lock.
clientconn.go#L1496: rt.tokens--
clientconn.go#L1497: if rt.tokens < 0 {
clientconn.go#L1498: rt.tokens = 0
clientconn.go#L1500: return rt.tokens <= rt.thresh
clientconn.go#L1509: rt.tokens += rt.ratio
clientconn.go#L1510: if rt.tokens > rt.max {
clientconn.go#L1511: rt.tokens = rt.max
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)